#include<bits/stdc++.h>

using namespace std;
using ll = long long;
const int maxn = 100;

int f(int a, int n) {
    if (n == 0)return 1;
    if (n == 1)return a;
    return f(a, n - 1) * a;
}

int main() {
    cout << f(2, 5) << endl;
    return 0;
}
